package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 喂养情况表
 * </p>
 *
 * @author 冯政尚
 * @since 2018-10-13
 */
@TableName("feed")
public class Feed extends Model<Feed> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Long id;
    /**
     * 喂养时间
     */
	@TableField("feedTime")
	private Long feedTime;
    /**
     * 喂养奶量
     */
	@TableField("feedVolume")
	private String feedVolume;
    /**
     * 关联妈妈id
     */
	private Long mid;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getFeedTime() {
		return feedTime;
	}

	public void setFeedTime(Long feedTime) {
		this.feedTime = feedTime;
	}

	public String getFeedVolume() {
		return feedVolume;
	}

	public void setFeedVolume(String feedVolume) {
		this.feedVolume = feedVolume;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Feed{" +
			"id=" + id +
			", feedTime=" + feedTime +
			", feedVolume=" + feedVolume +
			", mid=" + mid +
			"}";
	}
}
